import axios from '@/api/axios.js'


// 电影详情
const getFilmParai = (filmID) => {
    return axios.get("movie/detail?movieId="+filmID)
}

// 剧照
const getStagePhoto = (movieId,photosnm) => {
    return axios.get("movie/detail?movieId="+movieId+"/photos?nm="+photosnm)
}

// 剧组人员
const getCreditsMap = (movieId) => {
    return axios.get("movie/detail?movieId="+movieId+"/credits")
}
// 演员人数
const getCredActor = (movieId,castId) => {
    return axios.get("movie/detail?movieId="+movieId+"/cast/"+castId)
}

export { getFilmParai,getStagePhoto,getCreditsMap,getCredActor }